package cn.com.surker.enums.weight;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2023年04月21 14:26
 * @desc
 */
public enum WeightTypeEnum  implements IDescription {

    TARE(0,"皮重"), GROSS(1,"毛重"), REFUND(2,"退料"),
    TEMPORARY(3,"临时称重"), DELETE(4,"删除");

    private final String description;

    private final Integer code;

    WeightTypeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
